import Vue from 'vue'
import Router from 'vue-router'

import index from "../pages/Index.vue";
import detail from "../pages/Detail.vue";


Vue.use(Router)

export default new Router({
  routes: [
    {
        path: '/',
        component: index
    },
    {
        path: '/detail',
        component: detail
    },
  ]
})
